using System;
using System.Collections.Generic;
using System.Text;

namespace uk.co.tonyditchfield.utility.logging
{
    /// <summary>
    /// Interface for logging requires the following in app.config or web.config:
    /// <para>Either Application Name AND/OR LoggingFile MUST be declared or no logging will take place
    /// <para>Application Name(Optional): The name the event viewer entries will be logged under
    /// <para>LoggingLevel: INFO/WARNING/ERROR or ignore entry for INFO
    /// <para>LoggingFile(Optional): Path to Log File
    /// <para>An example follows below:
    /// <para>&lt;add key="ApplicationName" value="UnitTests"/&gt;
    ///	<para>&lt;add key="LoggingLevel" value="INFO"/&gt;
    ///	<para>&lt;add key="LoggingFile" value="F:\\STUFF\\ME\\dev\\tort\\LogFile.log"/&gt;</para>
    /// </para>
    /// </para>
    /// </para>
    /// </para>
    /// </para>
    /// </para>
    /// </para>
    ///	</summary>
    public interface ILog
    {
        void LogError(String error);
        void LogError(Exception exception);
        void LogWarning(string error);
        void LogWarning(Exception exception);
        void LogInfo(string error);
        void LogInfo(Exception exception);
    }
}
